package com.dianban.service.impl;


import com.dianban.dao.JwShoproGoodsDao;
import com.dianban.entity.JwShoproGoods;
import com.dianban.service.JwShoproGoodsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;


@Service
@Transactional(readOnly = true)
public class JwShoproGoodsServiceImpl implements JwShoproGoodsService {

    @Autowired
    private JwShoproGoodsDao jwShoproGoodsDao;

    @Override
    public List<JwShoproGoods> findList(String categoryIds) {
        return jwShoproGoodsDao.findList(categoryIds);
    }

    @Override
    public JwShoproGoods findById(Long id) {
        return jwShoproGoodsDao.findById(id);
    }

}
